package com.lianxi.model;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.junit.Test;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class News {

    private int id;
    private String siteName;
    private String title;
    private int smallType;
    private String oldEntityId;
    private int status;
    private String siteid;

    public static void main(String[] args) {


            String o1 = JSONObject.toJSONString(new News(29, "汤阴县人民政府门户网站", "安阳县中医院：抗疫有我 青春先行", 5, "4550000372_4105220003_3_ad180f41ac254f309b3bf7d6eb732103", 150, "4105230015"));
            String o2 = JSONObject.toJSONString(new News(28,"汤阴县人民政府门户网站","安阳县委书记、示范区党工委书记邢振东调研我县疫情防控工作",5,"4550000372_4105220003_3_f80741f86f7148cabca07efb066f023a",150,"4105230015"));
            String o3=  JSONObject.toJSONString(new News(27,"汤阴县人民政府门户网站","辅具发放暖人心，安阳县举办第32个“全国助残日”系列活动",5,"4550000372_4105220003_3_b5ab3eadf9f0404bb20e7bd5eb4f7989",150,"4105230015"));
            String o4=  JSONObject.toJSONString(new News(26,"汤阴县人民政府门户网站","安阳县召开5月份人居环境集中整治工作调度会",4,"4550000372_4105220003_3_c0d661fe456441e19bfc03334185c030",150,"4105230015"));
            String o5=  JSONObject.toJSONString(new News(25,"汤阴县人民政府门户网站","安阳县委副书记、县长马卫调研三产服务业及建筑业发展",1,"4550000372_4105220003_3_a9609ebcd32c4ef180aa0d50c452f38e",150,"4105230015"));
//        JSONObject.toJSONString(new News(24,"汤阴县人民政府门户网站","测试领导",1,"4550000372_4105220003_1_62a6446c9ffe46f0bbb13774a5746485",150));
//        JSONObject.toJSONString(new News(29869,"汤阴县人民政府门户网站","安阳县白璧镇纪委忠实履行好纪检执纪监督职能",3,"4550000372_4105220003_3_3538146029684640ab62977e8ac9f76b",150));

            System.out.println(o1);
            System.out.println(o2);
            System.out.println(o3);
            System.out.println(o4);
            System.out.println(o5);

    }
}
